<template>
  <div>
    <h1>All Contacts</h1>
    <div>
      <li>Alice</li>
      <li>Bob</li>
      <li>Eve</li>
    </div>
  </div>
</template>

<script>
export default {};
</script>


<style scoped>
/* 精确匹配 路径一个都不能差*/
.router-link-exact-active {
  color: red;
}
.router-link-active {
  color: red;
}
li {
  margin-left: 40px;
}
</style>